import { RouteRecordRaw } from 'vue-router';

export const REDIRECT_ROUTE_NAME = 'redirect';

export const DEFAULT_ROUTE_NAME = 'home';

export const WHITE_LIST = [
  { name: 'notFound', children: [] },
  { name: 'login', children: [] },
];

export const NOT_FOUND = {
  name: 'notFound',
};

export const DEFAULT_ROUTE = {
  // title: 'menu.service.online',
  name: DEFAULT_ROUTE_NAME,
  // fullPath: '/service/online',
};

export const DEFAULT_LAYOUT = () => import('@/layouts/simple-layout.vue');

export const NOT_FOUND_ROUTE: RouteRecordRaw = {
  path: '/:pathMatch(.*)*',
  name: 'notFound',
  component: () => import('@/views/template/not-found/index.vue'),
};
